#pragma once

#include "AnsiMemFile.h"


class CUpdateServerData
{
public:
	CUpdateServerData(void);
	~CUpdateServerData(void);

	CAnsiMemFile m_memData;

protected:

	BOOL m_bGenerate;
	DWORD m_dwBuildDate;

public:

	int Generate( void );

	int SaveToFile(LPCTSTR lpszPath);

	DWORD GetBuildDate(void);

	DWORD  GetSum(void);

	int SetData( BYTE* lpData, DWORD dwFileSize );


};


extern CUpdateServerData  g_execUpdateServer;
